package com.gopay.common.domain.cps.fee;

import com.gopay.common.domain.BaseEntity;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 手续费计提付款文件关系表
 * Created by Light on 2016/7/4.
 */
@Entity
@Table(name="FEE_WITHDRAW_BATCH_TASK_REL")
public class FeeWithdrawBatchTaskRel extends BaseEntity{
    /** 主键 */
    private String id;
    /** 任务ID */
    private String taskId;
    /** 国付宝交易号 */
    private String gopayOrderId;

    @Id
    @Column(name = "ID", unique = true, nullable = false)
    @GenericGenerator(name = "idGenerator", strategy = "uuid")
    @GeneratedValue(generator = "idGenerator")
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Column(name = "TASK_ID", length = 32)
    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    @Column(name = "GOPAY_ORDER_ID", length = 30)
    public String getGopayOrderId() {
        return gopayOrderId;
    }

    public void setGopayOrderId(String gopayOrderId) {
        this.gopayOrderId = gopayOrderId;
    }
}
